package com.airikeji.hr.mapper;

import com.airikeji.hr.domain.MessageResend;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author huangrui
 * @Date 2021/7/16 10:40
 * @Version 1.0
 */
@Mapper
public interface MessageResendMapper {

    List<MessageResend> queryAll();

    MessageResend queryIndividual(@Param("id") String id);

    void deleteById(@Param("id") String id);

    void insertResendMessage(MessageResend messageResend);

    MessageResend queryById(@Param("id") String id);

    void updateResendNum(@Param("id") String id, @Param("resendNum") Integer resendNum);
}
